package com.woniu.airent.service.impl;

import com.woniu.airent.mapper.ReportImgMapper;
import com.woniu.airent.service.ReportImgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ReportImgServiceImpl implements ReportImgService {

    @Autowired
    ReportImgMapper reportImgMapper;

    @Override
    public Integer addReportImg(String houseNumber, String path) {
        return reportImgMapper.insertReportImgByHouseNumber(houseNumber,path);
    }
}
